package com.ruoyi.sms.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 业务列表对象 t_service_type
 * 
 * @author wukong
 * @date 2021-03-30
 */
public class ServiceType extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 业务名称 */
    @Excel(name = "业务名称")
    private String name;

    /** 单价 */
    @Excel(name = "单价")
    private Long price;

    /** 日限量 */
    @Excel(name = "日限量")
    private Long dailyLimit;

    /** 优先级 */
    @Excel(name = "优先级")
    private Long priority;

    /** 匹配关键词 */
    @Excel(name = "匹配关键词")
    private String keyword;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setPrice(Long price) 
    {
        this.price = price;
    }

    public Long getPrice() 
    {
        return price;
    }
    public void setDailyLimit(Long dailyLimit) 
    {
        this.dailyLimit = dailyLimit;
    }

    public Long getDailyLimit() 
    {
        return dailyLimit;
    }
    public void setPriority(Long priority) 
    {
        this.priority = priority;
    }

    public Long getPriority() 
    {
        return priority;
    }
    public void setKeyword(String keyword) 
    {
        this.keyword = keyword;
    }

    public String getKeyword() 
    {
        return keyword;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("price", getPrice())
            .append("dailyLimit", getDailyLimit())
            .append("priority", getPriority())
            .append("keyword", getKeyword())
            .append("remark", getRemark())
            .append("createTime", getCreateTime())
            .toString();
    }
}
